<?php
    $project = new Default_Model_Project();
    $product = new Default_Model_Product();
    $resultProject = $project->listImage();
    $resultProduct = $product->listImage();
?>
<div class="header">
    <?php if(count($resultProject) > 0) : ?>
    <div id="features">
        <?php foreach($resultProject as $value) : ?>
    	<div>
            <img src="<?php echo $this->baseUrl('/public/files/project/').$value['image']; ?>" />
        </div>
        <?php endforeach; ?>
    </div>
    <?php endif; ?>
    
    <?php if(count($resultProduct) > 0) : ?>
    <div id="features2">
        <?php foreach($resultProduct as $value) : ?>
    	<div>
            <img src="<?php echo $this->baseUrl('/public/files/product/').$value['image']; ?>" />
        </div>
        <?php endforeach; ?>
    </div>
    <?php endif; ?>
</div>
<!-- End Header -->